package com.addplus.townmall.server.api.model.town;

import java.math.BigDecimal;
import com.addplus.townmall.server.api.model.base.BaseRestModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 商城店铺资金详细表
 * </p>
 *
 * @author zhangjiehang
 * @since 2018-12-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class StoreFundDetail extends BaseRestModel {

    private static final long serialVersionUID = 1L;

    /**
     * 商城店铺主键id
     */
    private Integer storeId;

    /**
     * 商城店铺名称
     */
    private String shopName;

    /**
     * 交易流水号
     */
    private String accountNo;

    /**
     * 关联资金编号
     */
    private Long storeFundAccoutId;

    /**
     * 金额
     */
    private BigDecimal amount;

    /**
     * 帐户剩余
     */
    private BigDecimal balance;

    /**
     * 交易类型(0:商品收益 1:佣金 2:系统赠送 3:退佣  4:退款退货 5:提现)
     */
    private Integer tradeType;

    /**
     * 是否收入
     */
    private Boolean isIncome;

    /**
     * 交易备注
     */
    private String remark;

    /**
     * 订单id
     */
    private Integer orderId;

    /**
     * 商品类型(1:普通 2:拼团)
     */
    private Integer orderType;

    /**
     * 结算周期
     */
    private Integer settlementCycle;

    /**
     * 是否删除(0:否 1:是)
     */
    private Integer isDelete;


}
